# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
pkgname=py3-apscheduler
_pkgreal=APScheduler
pkgver=3.10.4
pkgrel=1
pkgdesc="In-process task scheduler with Cron-like capabilities"
url="https://pypi.org/project/APScheduler/"
arch="noarch"
license="MIT"
depends="py3-tz py3-six py3-tzlocal"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-setuptools_scm"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
options="!check" # check dependancies not packaged

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
44b78e60b7349437fb8d6e5ad3bbd764cfa653fdd65685b586119225e8daaff9b150871887812a1f3d4cd67b942c70e99d1606d38b83685953fb1bb1a82742fe  APScheduler-3.10.4.tar.gz
"
